package com.hy.service.impl;

import com.hy.bean.RespBean;
import com.hy.dao.ProducertableDao;
import com.hy.service.ProducertableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProducertableServiceImpl implements ProducertableService {

    @Autowired
    private ProducertableDao producertableDao;

    @Override
    public RespBean selectAll(){
        return RespBean.success(null,producertableDao.queryAllByLimit());
    }
}